<%- include('header') %>

<link rel="stylesheet" href="css/posts.css">

<div class="limit-post-content">
<%postNum = 0%>
<%- include('components/limit-post-content', { posts: posts }) %>
</div>

<% if(posts.length==5){ %>
<div class="menu-load">
    <div class="item-load center" id="loadmore_posts">
        <span class="text-load">----- 点击获取人生经验 ヾ(≧O≦)〃吼不吼啊~ -----</span>
    </div>
</div>
<% } else { %>
<div class="menu-load">
    <div class="item-load center" id="no_posts">
        <span class="text-load">----- 没有文章了/(ㄒoㄒ)/~~ -----</span>
    </div>
</div>
<% } %>

<%- include('components/back-to-top') %>

<%- include('footer') %>